package com.hlkj.pay.infrastructure.model.common;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 支付宝 微信配置
* @TableName t_common_app
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_common_app")
public class CommonAppDO extends BaseDO {
    /**
    * 配置类型 1 微信公众号 2 微信小程序 3 支付宝公众号 4 支付宝小程序
     * @see com.hlkj.pay.enums.CommonEnum.COMMON_APP_TYPE
    */
    @Schema(description ="配置类型 1 微信公众号 2 微信小程序 3 支付宝公众号 4 支付宝小程序")
    private Integer type;
    /**
    * 
    */
    @Schema(description ="appid")
    private String appId;
    /**
    * 
    */
    @Schema(description ="appSecret")
    private String appSecret;
    /**
    * 状态 0 关闭 1 启用
    */
    @Schema(description ="状态 0 关闭 1 启用")
    private Integer status;
    /**
    * 
    */
    @Schema(description ="名称")
    private String name;
    /**
    * 
    */
    @Schema(description ="备注")
    private String remark;
    /**
    * 
    */
    @Schema(description ="回调地址")
    private String callUrl;
    @Schema(description ="支付宝私钥")
    private String privateKey;
    @Schema(description ="支付宝公钥")
    private String aliPublicKey;
    @Schema(description ="微信原始id")
    private String originalId;

}
